<template>
  <div>
    <CommonHead pageTitle="帮助和反馈" rightText="我的反馈"/>
    <div class="h-help-search">
      <input type="text" placeholder="搜索" v-model="getquestion">
      <i class="iconfont icon-sousuo fangdajing"></i>
    </div>
    <ul class="h-help-list">
      <li>常见问题</li>
      <li class="qianzhui" @click="getQuestion(ele)" v-for="(ele,index) in questionArr" :key="index">{{ele}}</li>
      
    </ul>
  </div>
</template>

<script>
import CommonHead from '../../components/mine/commonHead'
  export default {
    name: 'Help',
    components: {
      CommonHead
    },
    data () {
      return {
        getquestion: '',
        questionArr: ['• 安心食疗的特色是什么？','• 对于不感情趣或质量较差的文章应该如何反馈？','• 如何联系你们？']
      }
    },
    methods: {
      getQuestion (value) {
        this.getquestion = value.slice(1)
      }
    }
  }
</script>

<style scoped>
/*搜索*/
.h-help-search{
  padding: 0.32rem 0.42rem;
  position: relative;
}
.h-help-search input{
  width: 100%;
  height: 0.5rem;
  border: 0.01rem solid #979797;
  border-radius: 0.25rem;
  font-size: 0.26rem;
  letter-spacing: 0.02rem;
  text-align: center;
}
.fangdajing{
  position: absolute;
  right: 0.5rem;
  top: 0.4rem;
  font-size: 0.35rem;
}
/**/
.h-help-list>li{
  height: 0.7rem;
  line-height: 0.7rem;
  padding-left: 0.5rem;
  margin-bottom: 0.02rem;
  background-color: #fff;
}
.h-help-list .qianzhui{
  padding-left: 0.32rem;
}

</style>